package com.alan.validate.constraints.Impl;

import com.alan.validate.constraints.NotNull;
import com.alan.validate.util.ParamValidate;

public class NotNullValidate implements ParamValidate<NotNull, Object> {

	public void initialize(NotNull constraintAnnotation) {
	}

	public boolean isValid(Object value) {
		if (value == null) {
			return false;
		}
		return true;
	}

}
